.wmy-button {
  height: 40px;
  line-height: 40px;
  min-width: 50px;
  padding: 0 5px;
  color: #ffffff;
  background-color: #ededed;
  font-size: 20px;
  font-weight: bold;
  font-family: Arial;
  background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99', GradientType=0);
  border: 0px solid #dcdcdc;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0px 10px 14px -7px #276873;
  text-align: center;
  display: inline-block;
  text-decoration: none;

  &:hover {
    background-color: #f5f5f5;
    background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3', GradientType=0);
  }

  &:active {
    position: relative;
    top: 1px;
    transform: scale(0.8, 0.8);
  }
}

.wmy-elasticity {
  &:active {
    position: relative;
    top: 1px;
    transform: scale(0.8, 0.8);
  }
}

// 波纹效果
.wmy_ripple_button {
  background: #b9ccd2;
  color: #252b2d;
  overflow: hidden;
  z-index: 1;
  float: left;
  font-weight: 400;
  line-height: 45px;
  margin-right: 2.5em;
  cursor: pointer;
  overflow: hidden;
  padding: 0 25px;
  position: relative;
  text-align: center;
  width: auto;
}

.wmy_ripple_button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 500%;
  height: 1000%;
  background: #cce0e7;
  z-index: -1;
  transform-origin: 0% 0%;
  transform: translateX(calc(20% - 25px)) translateY(10%) rotate(-45deg);
  transform: translateY(10%) translateX(16%) rotate(-45deg);
  transition: transform .3s;
}

.wmy_ripple_button:active::after {
  transform: translateY(10%) translateX(-25px) rotate(-45deg);
}